package org.shop.service;

import java.util.Map;

import org.shop.entity.Supplier;
import org.shop.service.base.BaseService;

public interface SupplierService extends BaseService<Supplier, Long>{
	/**
	 * 通过用户id查询供货商信息
	 * @param userId
	 * @return
	 */
	public Supplier findSupplierByUserId(Long userId);
	
	/**
	 * 通过供货商名称查询供货商信息
	 * @param userId
	 * @return
	 */
	public Supplier findSupplierBySupplierName(Map<String, Object> paramMap);

}